require_relative 'generators/base'
require_relative 'generators/httpd'
require_relative 'generators/virtual_host'
require_relative 'generators/directory'
require_relative 'generators/generic_directive_group'

module Tomahawk
  module Generators
    def generate_directive(directive, value)
      "\n %s %s" % [directive.to_s.split('_').map(&:capitalize).join, value]
    end
  end
end
